package com.xiaocikuai.smallchunks.entity.Transaction;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author1
 * @since 2024-07-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yshop_promotional_user")
public class PromotionalUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠券用户域id
     */
    @TableId(value = "pu_id", type = IdType.AUTO)
    private Integer puId;

    /**
     * 优惠券id
     */
    @TableField("promotional_id")
    private Integer promotionalId;

    /**
     * 用户id
     */
    @TableField("uid")
    private Integer uid;

    /**
     * 是否使用
     */
    @TableField("ifdis")
    private Integer ifdis;


}
